/*
* Copyright (c) 2007 by Kirill Kolodyazhniy.
* See the file "license.terms" for information on usage and redistribution.
*/

#ifndef M_ODESPACE_H
#define M_ODESPACE_H

#include "space.h"
#include "odeheaders.h"

namespace Engine
{
	/**
	*   Spaces are used for space-partitioning to speed up collision detection.
	*/
	class OdeSpace: public Space
	{
	public:
		/**
		*   Constructor.
		*/
		OdeSpace(dSpaceID parent, const std::string& name);

		/**
		*   Destructor
		*/
		virtual ~OdeSpace();

		/**
		*   Return ODe id
		*/
		dSpaceID GetID()const;

	private:
		dSpaceID m_spaceID;
	};
}

#endif
